package com.suxin.plugin.intergration.manager.finder;

import java.nio.file.Path;

/**
 * @author Tang
 * @classname PluginDescriptorFinder
 * @description [  ]
 * @date 2022/7/3 20:10
 */
public interface PluginDescriptorFinder {

    /**
     * isApplicable
     * @param pluginPath
     * @return
     */
    boolean isApplicable(Path pluginPath);

    /**
     * find
     * @param pluginPath
     * @return
     */
    PluginDescriptor find(Path pluginPath);

}
